
<div class="container">
	<div class="formModifTask">
		<div class="center">
			<h4>Ajouter une tache</h4>
			<form class="form-horizontal" method=post action="<?php echo base_url() ?>utilisateur/UpdateTache">
				<label>Nom de la tache</label>
				<input type="text" name="TSK_LIB" class="form-control" value="<?php echo $UneTache[0]->TSK_LIB;?>"/>
				<br />

				<label>Ressource</label>
				<select name="FK_USR" class="form-control">
					<option value="<?php echo $UneTache[0]->USR_firstname;?>"><?php echo $UneTache[0]->USR_firstname;?></option>
					<?php
					foreach ($lesUsers as $value){
						echo" <option value='".$value->PK_USR."'>".$value->USR_name."</option>";
					};
					?>
				</select> 
				<br />

				<label>Item projet</label>
				<select name="FK_ITM" class="form-control">
					<option value="<?php echo $UneTache[0]->ITM_LIB;?>"><?php echo $UneTache[0]->ITM_LIB;?></option>
					<?php
					foreach ($lesItems as $value){
						echo" <option value='".$value->PK_ITM."'>".$value->ITM_LIB."</option>";
					};
					?>
				</select> 
				<br />

				<label>De : </label>
				<input type="time" name="TSK_start_hour_plan" class="form-control" value="<?php echo $UneTache[0]->TSK_start_hour_plan;?>"><br />

				<label>&agrave; : </label>
				<input type="time" name="TSK_end_hour_plan" class="form-control" value="<?php echo $UneTache[0]->TSK_start_hour_plan;?>"><br />
				<input type="submit" value="Valider" class="form-control"><br />
				<button class="btn btn-default fermer" onClick="return false;">Fermer</button>
			</form>
		</div>
	</div>
</div>